<template>
  <div class="learingIndexList">
    <mt-header title="数据分析">
      <router-link to="/" slot="left">
        <mt-button icon="back"></mt-button>
      </router-link>
    </mt-header>
    <div class="selectBox">
      <ul>全部分类
        <div>
        <li>全部分类</li>
        <li>PHP</li>
        <li>前端</li>
        </div>
      </ul>
      <ul>全部等级
       <div>
        <li>全部等级</li>
        <li>高级</li>
        <li>初级</li>
        </div>
      </ul>
    </div>
    <ClassItem></ClassItem>
  </div>
</template>
<script>
  import ClassItem from '../components/class-item.vue';

  export default {
    name: 'learingIndexList',
    data () {
      return {
        crouseDataes: [],
        typeTitle: '全部分类',
        rankTitle: '全部等级',
        actions:[],
        subParams: {},
        sheetVisible:'',
        loading:false,
        noData:false
      }
    },
    components: {
      ClassItem
    }
  }
</script>

<style lang="scss">
@import "../assets/baseScss";
.learingIndexList{
  text-align: center;
  .selectBox{
    font-size: 14px;
    background: $cl1;
    padding:10px 0;
    color:$cl9;
    display: flex;
    select{
      flex: 1;
      text-align: center;
      background: $cl1;
      border:none;
      border-radius: 0;
      option{
        text-align: center;
      }
    }
    select:first-child{
      border-right: solid 1px $cl5;
    }
    ul{
      flex: 1;
      position: relative;
      div{
        position: absolute;
        top:30px;
        left:0px;
        width: 90%;
        background: $cl1;
        border: solid 1px $cl5;
        border-top: 0px;
        line-height: 35px;
        padding: 0 5%;
        padding-bottom: 5px;
        li{
          border-bottom: dashed 1px $cl5;
        }
        li:first-child{
          border-top: dashed 1px $cl5;
        }
      }
    }
    ul:first-child{
      border-right: solid 1px $cl5;
    }
  }
}
</style>
